package com.yuerlive.rainbow.module.recharge.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.MyGoldData;
import com.yuerlive.rainbow.entity.OrderInfo;

/**
 * Created by xiaoyi on 2017/5/25.
 */

public interface RechargeContract {
    interface Presenter extends BasePresenter {
        void getMyGold();

        void orderPay(String id, int type);

        void payNotify(String outTradeNum, String tradeNo);
    }

    interface View extends BaseView<Presenter> {
        void showRechargeItem(MyGoldData result);

        void showOrderInfo(BaseData<OrderInfo> orderInfoBaseData);
    }
}
